Test-Driven Development: By Example (Paperback)

Test-Driven Development: By Example (Paperback)

作者: Kent Beck
出版社: Addison Wesley
出版在: 2002-11-08
ISBN-13: 9780321146533
ISBN-10: 0321146530
裝訂格式: Paperback
總頁數: 240 頁





內容描述


Test-driven development (TDD) is a new approach to application development
that is designed to eliminate the fear often associated with building software.
Admittedly, some fear is healthy (often viewed as a conscience that tells
programmers to “be careful!” ), but the author believes that programmers build
better software when they have the freedom to be creative. By building tests
before coding begins, programmers ensure the success of their application from
the outset. Students are more likely to achieve positive results with TDD. The
author's example-driven approach also teaches students to be better
communicators, and encourages team members to seek out constructive
criticism.
Table of Contents
Preface. Acknowledgments. Introduction.

I. THE MONEY EXAMPLE.

  1. Multi-Currency Money. 2. Degenerate Objects. 3. Equality for All.

  2. Privacy. 5. Franc-ly Speaking. 6. Equality for All, Redux. 7.
    Apples and Oranges. 8. Makin' Objects. 9. Times We're Livin' In. 10.
    Interesting Times. 11. The Root of All Evil. 12. Addition, Finally.

  3. Make It. 14. Change. 15. Mixed Currencies. 16. Abstraction,
    Finally. 17. Money Retrospective.

II. The xUnit Example.

  1. First Steps to xUnit. 19. Set the Table. 20. Cleaning Up After.
  2. Counting. 22. Dealing with Failure. 23. How Suite It Is. 24.
    xUnit Retrospective.

III. Patterns for Test-Driven Development.

  1. Test-Driven Development Patterns. 26. Red Bar Patterns. 27.
    Testing Patterns. 28. Green Bar Patterns. 29. xUnit Patterns. 30.
    Design Patterns. 31. Refactoring. 32. Mastering TDD. Appendix I:
    Influence Diagrams. Appendix II: Fibonacci. Afterword.



相關書籍

Essentials of Software Testing

作者 Bierig Ralf Brown Stephen Galván Edgar

2002-11-08

Test-Driven Development 學習手冊

作者 Saleem Siddiqui 楊新章 譯

2002-11-08

Kent Beck 的測試驅動開發:案例導向的逐步解決之道 (Test-Driven Development: By Example)(TDD)

作者 Kent Beck 陳仕傑(91) 譯

2002-11-08